import axios from "./axios";
export function post(url){
    return function (data){return axios({method:'post',url,data})}
}
export function post2(url){
    return function (params){return axios({method:'post',url,params})}
}
export function get(url){
    return function (data){return axios({method:'get',url,data})}
}
export function get2(url){
    return function (params){return axios({method:'get',url,params})}
}